const install = (app) => {
  app.mixin({
    props: {
      comCode: {
        type: String,
        default: undefined,
      },
    },
    data() {
      return {};
    },
    created() {},
    mounted() {},
    methods: {
      param(key) {
        return this.$route.query[key] || this[key];
      },
    },
  });
};

export default install;
